package com.ruoyi.web.sso.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统卡对象 c_card
 * 
 * @author qiufeng
 * @date 2022-10-27
 */
public class Card
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date created;

    /** 是否删除 0：否，1是 */
    private Integer deleted;

    /** 园区ID */
    private String areaId;

    /** 审核状态 0.待审核  1.审核通过  2.审核拒绝 */
    private Long audited;

    /** 创建人 */
    private String createdBy;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNo;

    /** 卡内码 */
    @Excel(name = "卡内码")
    private String cardCode;

    /** 芯片类型 */
    private String chipType;

    /** 用途类型 */
    private String purposeType;

    /** 状态0待激活1已激活 */
    private Long status;

    /** 类型,未确定0,巡检1  考勤2 */
    private Long type;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setAreaId(String areaId) 
    {
        this.areaId = areaId;
    }

    public String getAreaId() 
    {
        return areaId;
    }
    public void setAudited(Long audited) 
    {
        this.audited = audited;
    }

    public Long getAudited() 
    {
        return audited;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCardCode(String cardCode) 
    {
        this.cardCode = cardCode;
    }

    public String getCardCode() 
    {
        return cardCode;
    }
    public void setCardNo(String cardNo) 
    {
        this.cardNo = cardNo;
    }

    public String getCardNo() 
    {
        return cardNo;
    }
    public void setChipType(String chipType) 
    {
        this.chipType = chipType;
    }

    public String getChipType() 
    {
        return chipType;
    }
    public void setPurposeType(String purposeType) 
    {
        this.purposeType = purposeType;
    }

    public String getPurposeType() 
    {
        return purposeType;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("created", getCreated())
            .append("deleted", getDeleted())
            .append("areaId", getAreaId())
            .append("audited", getAudited())
            .append("createdBy", getCreatedBy())
            .append("cardCode", getCardCode())
            .append("cardNo", getCardNo())
            .append("chipType", getChipType())
            .append("purposeType", getPurposeType())
            .append("status", getStatus())
            .append("type", getType())
            .toString();
    }
}
